﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ADDDF.Infrastructure.ChangeTracking.ChangeRecords
{
    class EntityKey
    {
        // TODO: make this value object
        public Type Type { get; set; }
        public object Key { get; set; }
        public override int GetHashCode() { return Type.GetHashCode() + (Key == null ? 0 : Key.GetHashCode()); }
    }

}
